<Entity category="Enemy">

	<Include file="colors.xml"/>
	<Include file="vars.xml"/>

	<Draw type="Anime" scale="0.7,0.7">
		<Resource fname="sakuraI.png" />
		<Blending color="@colors.Red" method="Alpha"/>
		<AnimationTable default="StandR" offset="contHeight">
			<Animation name="WalkR" startRect="0,0,59,39" frames="6" time="60" flipX="@vars.NO" flipY="@vars.NO"/>
			<Animation name="StandR" startRect="0,0,56,33" frames="5" time="80" />
			<Animation name="JumpR" startRect="0,0,67,32" frames="2" time="60"/>
			<Animation name="FallR" startRect="0,0,55,37" frames="2" time="50"/>
			<Animation name="LandR" startRect="0,0,53,37" frames="2" time="100"/>
			<!-- Inverse -->
			<Animation name="WalkL" as="WalkR" flipX="true"/>
			<Animation name="StandL" as="StandR" flipX="true"/>
			<Animation name="JumpL" as="JumpR" flipX="true"/>
			<Animation name="FallL" as="FallR" flipX="true"/>
			<Animation name="LandL" as="LandR" flipX="true"/>
		</AnimationTable>
	</Draw>

	<Physics type="Simple" canSleep="false" ghost="false">
		<Mass value="1" CoG="future value" CoI="future value"/>
		<Rect value="0,0,40,23" />
		<Material bounce="0" friction="0.3"/>
		<Damping value="0.5" applyonX="true" applyonY="false"/>
	</Physics>
	
	<Scripts>
		<!-- if placed in different order it won't work -->
		<Script file="SimpleWalk.lua"/>
		<Script file="SimpleNPC.lua"/>
	</Scripts>

</Entity>